package com.sky.category.api.client.aip;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("category-service")
public interface CategoryClient {
    @GetMapping("/admin/category")
    public String categoryById(@RequestParam("id") Long id);
}
